import request from '@/utils/request';
export const serviceHead = '/omsystem'; // 项目前缀

// 根据订单查询详情
export function getDetailByNo (number) {
  return request({
    url: `${serviceHead}/minyaOms/findNoticeWeightByNumber/${number}`,
    method: 'post'
  });
}

// 确认收货
export function takeDelivery (params) {
  return request({
    url: `${serviceHead}/minyaOms/forecastInfoUpdate`,
    method: 'post',
    data: params
  });
}

// 获取标签链接
export function getPdfDetail (params) {
  return request({
    url: `${serviceHead}/minyaOms/inboundPdf`,
    method: 'post',
    data: params
  });
}